package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



@Data
@NoArgsConstructor
@TableName("customer_flock_user")
//@EqualsAndHashCode(callSuper = true)
public class CustomerFlockUserEntity   implements Serializable
{
    private static final long serialVersionUID = 91697186390991L;
    /**
    *id
    */
    @TableField("id")
    @NotNull(message = "id不可为空")
    @ApiModelProperty(value = "id")
    private Long id;    
    /**
    *群ID
    */
    @TableField("flock_id")
    @ApiModelProperty(value = "群ID")
    private Long flockId;
    /**
    *手机号
    */
    @TableField("mobile_phone")
    @ApiModelProperty(value = "手机号")
    private String mobilePhone;
    /**
    *用户ID
    */
    @TableField("user_id")
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
    *用户真实姓名
    */
    @TableField("user_name")
    @NotBlank(message = "用户真实姓名不可为空")
    @ApiModelProperty(value = "用户真实姓名")
    private String userName;
}

